package com.qfedu.service.impl;

import com.qfedu.entity.AddressEntity;
import com.qfedu.mapper.AddressPojoMapper;
import com.qfedu.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AddressServiceimpl implements AddressService {
    @Autowired
    private AddressPojoMapper addressPojoMapper;
    @Override
    public AddressEntity queryAddress(int addressid) {
        AddressEntity addressEntity = addressPojoMapper.queryAddress(addressid);
        return addressEntity;
    }
}
